const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const HouseSchema = new Schema({
  name: {
    type: String
  },
  price: {
    type: String
  },
  ImgUrls: {
    type: Array
  },
  saleOrrent: {
    type: String
  },
  types: {
    type: String
  },
  description: {
    type: Array
  },
  adress: {
    type: String
  },
  city: {
    type: String
  },
  area: {
    type: String
  },
  state: {
    type: String
  },
  zip: {
    type: String
  },
  country: {
    type: String
  },
  details: {
    type: Array
  },
  features: {
    type: Array
  },
  walkscore: {
    type: String
  },
  walkscoreurl: {
    type: String
  },
  cur_lat: {
    type: String
  },
  cur_long: {
    type: String
  },
  localImgSrc: {
    type: Array
  }
},{collation:'hourse_copy'});
const HouseModel = mongoose.model("hourse_copy", HouseSchema,"hourse_copy");
module.exports = HouseModel;
